class CreateRentals < ActiveRecord::Migration
  def self.up
    create_table :rentals, :primary_key => :id  do |t|
      t.integer   :id
      t.datetime  :date_created
      t.datetime  :checkout_date
      t.datetime  :checkin_date
      t.datetime  :return_date
      t.integer   :customer_id
      t.integer   :total
      t.string    :paid
      t.integer   :rental_status
      t.integer   :employee_id
    end
  end

  def self.down
    drop_table :rentals
  end
end

